package com.ivt.controller.console;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/console")
public class ConsoleController {

	private static final Logger LOGGER = LoggerFactory
			.getLogger(ConsoleController.class);

	@RequestMapping("")
	public String index(ModelMap view) {
		LOGGER.debug("index");
		return "console.index";
	}

	@RequestMapping("/log")
	public String log(String groupId, ModelMap view) {

		return "alone:console.console";
	}

}
